randomNumber = Math.random();
//if(ad_direc_net=='N')
//{
	var src=url+'/Delivery/23847PG.php?advertiseid='+ads_val+'&rand='+randomNumber;	
	document.write('<iframe id="iframe'+ads_val+'" src='+src+' allowtransparency="true" frameborder="0" height="" width="" scrolling="no" marginheight="0" marginwidth="0"></iframe>');// JavaScript Document
	document.write("<div id='div"+ads_val+"'>&nbsp;</div>");
	
//}
//else //if(ad_direc_net=='Y')
//{
//	var src1=url+'/Delivery/23846PG_network.php?advertiseid='+ads_val+'&rand='+randomNumber;
//	document.write('<iframe src='+src1+' allowtransparency="true" frameborder="0" height="100%" width="100%" scrolling="no" marginheight="0" marginwidth="0"></iframe>');// JavaScript Document
//	document.write("<div id='div"+ads_val+"'>&nbsp;</div>");
//}
/*if(ad_direc_net=='N')
{
//alert('hi');
document.write('<iframe src="http://esolz.org/admob/Delivery/23846PG.php?advertiseid='+ads_val  +'" allowtransparency="true" frameborder="0" height="100%" width="100%" scrolling="no" marginheight="0" marginwidth="0"></iframe>');// JavaScript Document
}
else if(ad_direc_net=='Y')
{
//alert('hi');
//alert(ads_val);
document.write('<iframe src="http://esolz.org/admob/Delivery/23846PG_network.php?advertiseid='+ads_val  +'" allowtransparency="true" frameborder="0" height="100%" width="100%" scrolling="no" marginheight="0" marginwidth="0"></iframe>');// JavaScript Document
}
*/